<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>{$title}</title>
    <meta name="description" content="这是一个 index 页面">
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="icon" type="image/png" href="/public/admin/i/favicon.png">
    <link rel="apple-touch-icon-precomposed" href="/public/admin/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI" />
    <link rel="stylesheet" href="/public/admin/css/amazeui.min.css" />
    <link rel="stylesheet" href="/public/admin/css/admin.css">
    <link rel="stylesheet" href="/public/admin/css/app.css">
</head>

<body data-type="generalComponents">

    {include file="index/header"/}

    <div class="tpl-page-container tpl-page-header-fixed">

        {include file="index/menu"/}

        <div class="tpl-content-wrapper">
            <!--<div class="tpl-content-page-title">-->
                <!--Amaze UI 文字列表-->
            <!--</div>-->
            <!--<ol class="am-breadcrumb">-->
                <!--<li><a href="#" class="am-icon-home">首页</a></li>-->
                <!--<li><a href="#">Amaze UI CSS</a></li>-->
                <!--<li class="am-active">文字列表</li>-->
            <!--</ol>-->
            <div class="tpl-portlet-components">
                <div class="portlet-title">
                    <div class="caption font-green bold">
                        <span class="am-icon-code"></span> 实验列表
                    </div>
                    <div class="tpl-portlet-input tpl-fz-ml">
                        <div class="portlet-input input-small input-inline">
                            <div class="input-icon right">
                                <!--<i class="am-icon-search"></i>-->
                                <input type="hidden" class="form-control form-control-solid" placeholder="搜索..."> </div>
                        </div>
                    </div>


                </div>
                <div class="tpl-block">
                    <div class="am-g">
                        <div class="am-u-sm-12 am-u-md-6">
                            <div class="am-btn-toolbar">
                                <div class="am-btn-group am-btn-group-xs">
                                    <button onclick="location.href='/admin.php/admin/experiment/form_text'" type="button" class="am-btn am-btn-default am-btn-success"><span class="am-icon-plus"></span> 新增</button>
                                    <!--<button type="button" class="am-btn am-btn-default am-btn-secondary"><span class="am-icon-save"></span> 保存</button>-->
                                    <!--<button type="button" class="am-btn am-btn-default am-btn-warning"><span class="am-icon-archive"></span> 审核</button>-->
                                    <!--<button type="button" class="am-btn am-btn-default am-btn-danger"><span class="am-icon-trash-o"></span> 删除</button>-->
                                </div>
                            </div>
                        </div>
                        <div class="am-u-sm-12 am-u-md-3">
                            <div class="am-input-group am-input-group-sm">
                                <input type="hidden" class="am-form-field">
                                <span class="am-input-group-btn">
          </span>
                            </div>
                        </div>
                    </div>
                    <hr>
                    <div class="am-g">
                        <div class="tpl-table-images">
                           {volist name="list" id="line"}
                            <div class="am-u-sm-12 am-u-md-6 am-u-lg-4">
                                <div class="tpl-table-images-content">
                                    <div class="tpl-table-images-content-i-time">发布时间：{$line.add_time}</div>
                                    <div class="tpl-i-title">
                                        {$line.title}
                                    </div>
                                    <a href="javascript:;" class="tpl-table-images-content-i">
                                        <div class="tpl-table-images-content-i-info">
                                            <!--<span class="ico">-->
                                    <!--<img src="/public/admin/img/user02.png" alt="">追逐-->
                                 <!--</span>-->

                                        </div>
                                        <span class="tpl-table-images-content-i-shadow"></span>
                                        <img src="{$line.picture}" alt="">
                                    </a>
                                    <div class="tpl-table-images-content-block">
                                        <div class="tpl-i-font">
                                            {$line.profile}
                                        </div>
                                        <div class="tpl-i-more">
                                            <!--<ul>-->
                                                <!--<li><span class="am-icon-qq am-text-warning"> 100+</span></li>-->
                                                <!--<li><span class="am-icon-weixin am-text-success"> 235+</span></li>-->
                                                <!--<li><span class="am-icon-github font-green"> 600+</span></li>-->
                                            <!--</ul>-->
                                        </div>
                                        <div class="am-btn-toolbar">
                                            <div class="am-btn-group am-btn-group-xs tpl-edit-content-btn">
                                                <button  id="view" onclick='view("{$line.e_id}")' type="button" class="am-btn am-btn-default am-btn-success"><span class="am-icon-eye"></span> 查看</button>
                                                <button type="button" onclick="location.href='/admin.php/admin/experiment/form_text?tip=2&e_id={$line.e_id}';" class="am-btn am-btn-default am-btn-secondary"><span class="am-icon-edit"></span> 编辑</button>
                                                <!--<button type="button" class="am-btn am-btn-default am-btn-warning"><span class="am-icon-archive"></span> 显示</button>-->
                                                <button type="button" onclick="location.href='/admin.php/admin/experiment/delete?e_id={$line.e_id}';"  class="am-btn am-btn-default am-btn-danger"><span class="am-icon-trash-o"></span> 删除</button>
                                                <!--<button type="button" onclick="location.href='/admin.php/admin/experiment/delete?e_id={$line.e_id}';" class="am-btn am-btn-default am-btn-danger"><span class="am-icon-trash-o"></span> 删除</button>-->
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            {/volist}
                            <div class="am-u-lg-12">
                                <div class="am-cf">


                                </div>
                                <hr>
                            </div>

                        </div>

                    </div>
                </div>
                <div class="tpl-alert"></div>
            </div>










        </div>

    </div>
    <script>
        function view(obj) {
            location.href = '/index.php/index/index/play?e_id='+obj;
        }
    </script>

    <script src="/public/admin/js/jquery.min.js"></script>
    <script src="/public/admin/js/amazeui.min.js"></script>
    <script src="/public/admin/js/app.js"></script>
</body>

</html>